package cn.lxb.netstat.collector;

import java.util.Map;
import java.util.Set;

import javax.validation.constraints.NotNull;

/**
 * @author TFB
 */
public interface AddressRepository {
	void save(RecordParam recordParam);
	Set<String> queryByAppName(String serviceName);
	Map<String, Set<String>> queryAll();
	void clear();
	void remove(@NotNull RecordParam recordParam);
}
